package com.day15;

import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;

public class Test2 {
    public static void main(String[] args){
        int i1=10;
        int i2=11;
        int i3=10;
        int i4=12;
        int i5=20;

        if (i5>=i4){//嵌套if循环
            System.out.println("i1大于等于i2时执行");
            if (i5>=i3) {
                System.out.println("i1大于等于i3时执行");
            }
            if (i5>i2){
                System.out.println("i1>i2h时执行");
            }
            if (i5>i1){
                System.out.println("i4>i1时执行");
            }
        }else {
            System.out.println("都不大于时执行");
        }
    }
}
